package com.ruoyi.user.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户业务对象 ucenter_member
 *
 * @author 孟磊
 * @date 2022-08-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UcenterMemberBo extends BaseEntity {

    /**
     * 会员id
     */
    @NotBlank(message = "会员id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mobile;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String password;

    /**
     * 昵称
     */
    @NotBlank(message = "昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickname;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private String age;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 用户签名
     */
    private String sign;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isDisabled;

    /**
     * 地址
     */
    private String adress;

    /**
     * 邮箱
     */
    private String mail;

    private String psd;



}
